{% extends "admin/change_list.html" %}
{% load i18n admin_urls %}
	{% block object-tools %}
      {% if has_add_permission %}
        <ul class="object-tools">
          {% block object-tools-items %}
            <li>
              <a href="{% url cl.opts|admin_urlname:'add' %}{% if is_popup %}?_popup=1{% endif %}" class="addlink">
                {% blocktrans with cl.opts.verbose_name as name %}Add {{ name }}{% endblocktrans %}
              </a>
            </li>
          {% endblock %}
          <li>
          	<a href="{%url 'admin:packages_upload_pkg'%}">上传app包</a>
          </li>
        </ul>
      {% endif %}
    {% endblock %}